<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>IObj | EasyGameFramework</title>
	<meta name="description" content="Documentation for EasyGameFramework">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header class="tsd-header">
	<div class="tsd-page-toolbar">
		<div class="container header-container">
			<div class="header-logo">
				<a href="../globals.html" class="title">
					<span class="egf-logo"></span>
				</a>
				</select>
			</div>
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Packages</a>
				</li>
				<li>
					<a href="../modules/obj_pool.html">obj-pool</a>
				</li>
				<li>
					<a href="../modules/obj_pool.__global.html">__global</a>
				</li>
				<li>
					<a href="../modules/obj_pool.__global.objpool.html">objPool</a>
				</li>
				<li>
					<a href="obj_pool.__global.objpool.iobj.html">IObj</a>
				</li>
			</ul>
			<span class="tsd-breadcrumb-current">Interface IObj&lt;onGetDataType&gt;</span>
			<div id="tsd-filter">
				<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
				<div class="tsd-filter-group">
					<input type="checkbox" id="tsd-filter-inherited" checked />
					<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
				</div>
			</div>
			<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-type-parameters">
				<h3>Type parameters</h3>
				<ul class="tsd-type-parameters">
					<li>
						<h4>onGetDataType = <span class="tsd-signature-type">any</span></h4>
					</li>
				</ul>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<span class="target">IObj</span>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-interface"><a href="obj_pool.__global.objpool.iobj.html#isinpool" class="tsd-kind-icon">is<wbr>InPool</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface"><a href="obj_pool.__global.objpool.iobj.html#pool" class="tsd-kind-icon">pool</a></li>
								<li class="tsd-kind-property tsd-parent-kind-interface"><a href="obj_pool.__global.objpool.iobj.html#poolsign" class="tsd-kind-icon">pool<wbr>Sign</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="obj_pool.__global.objpool.iobj.html#oncreate" class="tsd-kind-icon">on<wbr>Create</a></li>
								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="obj_pool.__global.objpool.iobj.html#onget" class="tsd-kind-icon">on<wbr>Get</a></li>
								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="obj_pool.__global.objpool.iobj.html#onkill" class="tsd-kind-icon">on<wbr>Kill</a></li>
								<li class="tsd-kind-method tsd-parent-kind-interface"><a href="obj_pool.__global.objpool.iobj.html#onreturn" class="tsd-kind-icon">on<wbr>Return</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
					<a name="isinpool" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> is<wbr>InPool</h3>
					<div class="tsd-signature tsd-kind-icon">is<wbr>InPool<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in packages/obj-pool/src/obj-pool-interfaces.ts:15</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>是否在对象池内
							创建时赋值</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
					<a name="pool" class="tsd-anchor"></a>
					<h3>pool</h3>
					<div class="tsd-signature tsd-kind-icon">pool<span class="tsd-signature-symbol">:</span> <a href="obj_pool.__global.objpool.ipool.html" class="tsd-signature-type">IPool</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in packages/obj-pool/src/obj-pool-interfaces.ts:20</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>对象池
							创建时赋值</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
					<a name="poolsign" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> pool<wbr>Sign</h3>
					<div class="tsd-signature tsd-kind-icon">pool<wbr>Sign<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in packages/obj-pool/src/obj-pool-interfaces.ts:10</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>对象池类型标志
							创建时赋值</p>
						</div>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
					<a name="oncreate" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Create</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Create<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in packages/obj-pool/src/obj-pool-interfaces.ts:24</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>创建时</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
					<a name="onget" class="tsd-anchor"></a>
					<h3>on<wbr>Get</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Get<span class="tsd-signature-symbol">(</span>onGetData<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">onGetDataType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in packages/obj-pool/src/obj-pool-interfaces.ts:28</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>当被取时</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>onGetData: <span class="tsd-signature-type">onGetDataType</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
					<a name="onkill" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Kill</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Kill<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in packages/obj-pool/src/obj-pool-interfaces.ts:37</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>当被销毁时</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
					<a name="onreturn" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> on<wbr>Return</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
						<li class="tsd-signature tsd-kind-icon">on<wbr>Return<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in packages/obj-pool/src/obj-pool-interfaces.ts:33</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>当被回收时
									做一些状态还原逻辑</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Packages</em></a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/broadcast.html">broadcast</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/c3d_comp_template.html">c3d-<wbr>comp-<wbr>template</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/c3daxios.html">c3daxios</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/cli.html">cli</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/core.html">core</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/display_ctrl.html">display-<wbr>ctrl</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/dpctrl_c3d.html">dpctrl-<wbr>c3d</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/dpctrl_ccc.html">dpctrl-<wbr>ccc</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/dpctrl_fgui.html">dpctrl-<wbr>fgui</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/dpctrl_fguicc.html">dpctrl-<wbr>fguicc</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/egf_protobuf_cli.html">egf-<wbr>protobuf-<wbr>cli</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/emitter3.html">emitter3</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/enet.html">enet</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/enet_pbws.html">enet-<wbr>pbws</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/enet_pinus_pb.html">enet-<wbr>pinus-<wbr>pb</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/excel2all.html">excel2all</a>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/layer.html">layer</a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/obj_pool.html">obj-<wbr>pool</a>
						<ul>
							<li class="current tsd-kind-namespace tsd-parent-kind-module tsd-is-not-exported">
								<a href="../modules/obj_pool.__global.html">__global</a>
								<ul>
									<li class="current tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="../modules/obj_pool.__global.objpool.html">obj<wbr>Pool</a>
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li class=" tsd-kind-module">
						<a href="../modules/xstate2c3d.html">xstate2c3d</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-namespace tsd-parent-kind-namespace">
						<a href="../modules/obj_pool.__global.objpool.html" class="tsd-kind-icon">obj<wbr>Pool</a>
						<ul>
							<li class="current tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
								<a href="obj_pool.__global.objpool.iobj.html" class="tsd-kind-icon">IObj</a>
								<ul>
									<li class=" tsd-kind-property tsd-parent-kind-interface">
										<a href="obj_pool.__global.objpool.iobj.html#isinpool" class="tsd-kind-icon">is<wbr>InPool</a>
									</li>
									<li class=" tsd-kind-property tsd-parent-kind-interface">
										<a href="obj_pool.__global.objpool.iobj.html#pool" class="tsd-kind-icon">pool</a>
									</li>
									<li class=" tsd-kind-property tsd-parent-kind-interface">
										<a href="obj_pool.__global.objpool.iobj.html#poolsign" class="tsd-kind-icon">pool<wbr>Sign</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-interface">
										<a href="obj_pool.__global.objpool.iobj.html#oncreate" class="tsd-kind-icon">on<wbr>Create</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-interface">
										<a href="obj_pool.__global.objpool.iobj.html#onget" class="tsd-kind-icon">on<wbr>Get</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-interface">
										<a href="obj_pool.__global.objpool.iobj.html#onkill" class="tsd-kind-icon">on<wbr>Kill</a>
									</li>
									<li class=" tsd-kind-method tsd-parent-kind-interface">
										<a href="obj_pool.__global.objpool.iobj.html#onreturn" class="tsd-kind-icon">on<wbr>Return</a>
									</li>
								</ul>
							</li>
							<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
								<a href="obj_pool.__global.objpool.iobjhandler.html" class="tsd-kind-icon">IObj<wbr>Handler</a>
							</li>
							<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
								<a href="obj_pool.__global.objpool.ipool.html" class="tsd-kind-icon">IPool</a>
							</li>
							<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
								<a href="obj_pool.__global.objpool.ipoolinitoption.html" class="tsd-kind-icon">IPool<wbr>Init<wbr>Option</a>
							</li>
							<li class=" tsd-kind-interface tsd-parent-kind-namespace tsd-has-type-parameter">
								<a href="obj_pool.__global.objpool.ipoolmgr.html" class="tsd-kind-icon">IPool<wbr>Mgr</a>
							</li>
							<li class=" tsd-kind-type-alias tsd-parent-kind-namespace tsd-has-type-parameter">
								<a href="../modules/obj_pool.__global.objpool.html#clas" class="tsd-kind-icon">Clas</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>